// 枚举

export { }

// const PostStatus = {
//     Draft: 0,
//     Unpublished:1,
//     Published:2
// }

// enum PostStatus {
//     Draft = 0,
//     Unpublished = 1,
//     Published = 2
// }

// enum PostStatus {
    // Draft,
    // Unpublished,
    // Published
// }

const enum PostStatus {
    Draft = 'a',
    Unpublished = 'b',
    Published = 'c'
}
const post = {
    title: 'Hello TypeScript',
    content: 'TypeScript is a typed superset of JavaScript',
    status: PostStatus.Published
}